<div class="row-fluid">
    <div class="span12">
    <div class="span6">
    
						<div class="alert alert-block alert-error fade in">
							<a href="#" data-dismiss="alert" class="close">x</a>
							<h4 class="alert-heading">
								Registro de Padre o Tutor
							</h4>
							<ul>
								<li>
									Registra nuevo Tutor.
								</li>
								<li>
									Registrar Alumnos a la Tutela por cada Padre o Tutor.
								</li>
							</ul>
							<p>
								<a href="<?php echo $this->Html->url(array('action'=>'add')) ?>" class="btn btn-inverse"><i class="splashy-check"></i> Registrar Tutor</a>
							</p>
						</div>
    </div>
    <div class="span10">
        <h3 class="heading">Padres</h3> 
        <table class="table table-striped table-bordered dTableR" id="dt_a">
            <thead>
                <tr>                                          
                    <th>Apellido Paterno</th>
                    <th>Apellido Materno</th>
                    <th>Nombre</th>
                    <th>Telefonos</th>
                    <th>Observacion</th>                    
                    <th>Acciones</th>     
                </tr>
            </thead>
            <tbody>
                <?php foreach ($padres as $padre): ?>
                    <?php $id = $padre['Padre']['id']; ?>
                    <tr>                                                 
                        <td><?php echo $padre['Padre']['ap_paterno']; ?></td>
                        <td><?php echo $padre['Padre']['ap_materno']; ?></td>
                        <td><?php echo $padre['Padre']['nombre']; ?></td> 
                        <td>
                        <?php echo $padre['Padre']['celular'] ?>&nbsp;<?php echo $padre['Padre']['telefono'] ?>
                        </td>
                        <td><?php echo $prof['Padre']['observacion']; ?></td>
                        <td>
                            
                            <?php echo $this->Html->image("iconos/asigalumno.png", array("title" => "Asignar Alumno",'url' => array('action'=>'asignalumno', $id)));?>
                            <?php echo $this->Html->image("iconos/ver.png", array("title" => "Ver Alumno",'url' => array('action'=>'vertutela', $id)));?>
                            <?php echo $this->Html->image("iconos/edit.png", array("title" => "Editar al Alumno",'url' => array('action'=>'edit', $id)));?>
                            <?php echo $this->Html->image("iconos/elim.png", array("title" => "Eliminar al Alumno",'url' => array('action'=>'delete', $id)));?>                            
                            <?php //echo $this->Html->link('Asignar alumno',array('action'=>'asignalumno',$id));?>
                            <?php //echo $this->Html->link('VER',array('action'=>'vertutela',$id));?>
                            <?php //echo $this->Html->link('EDITAR',array('action'=>'edit',$id));?>
                            <?php //echo $this->Html->link('ELIMINAR',array('action'=>'delete',$id),null,('Desea aliminar a este Padre.....!!!!!?')); ?> 
                        </td>
                    </tr>
                    <?php
                endforeach;
                ?>
            </tbody>
        </table>                
    </div>   
</div>
<?php echo $this->
	element('sidebar/padres'); ?>
	<?php echo $this->
		element('jstablas'); ?>
<!-- fin sidebar -->
<?php echo $this->element('jstablas'); ?>
